package it.niedermann.android.markdown.model

enum class EListType(listSymbol: Char) {
    STAR('*'), DASH('-'), PLUS('+');

    @kotlin.jvm.JvmField
    val listSymbol: String
    @kotlin.jvm.JvmField
    val listSymbolWithTrailingSpace: String
    @kotlin.jvm.JvmField
    val checkboxChecked: String
    @kotlin.jvm.JvmField
    val checkboxCheckedUpperCase: String
    @kotlin.jvm.JvmField
    val checkboxUnchecked: String
    @kotlin.jvm.JvmField
    val checkboxUncheckedWithTrailingSpace: String

    init {
        this.listSymbol = listSymbol.toString()
        listSymbolWithTrailingSpace = "$listSymbol "
        checkboxChecked = "$listSymbolWithTrailingSpace[x]"
        checkboxCheckedUpperCase = "$listSymbolWithTrailingSpace[X]"
        checkboxUnchecked = "$listSymbolWithTrailingSpace[ ]"
        checkboxUncheckedWithTrailingSpace = "$checkboxUnchecked "
    }
}